A. stop() method
B. start() method
C. init() method
D. destroy() method
Advertisement
Related Mcqs:
- Program which executes applet is known as________________?
- A. JVM B. virtual machine C. applet engine D. None of above...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- If method have same name as class name and method don’t have any return type then it is known as______________?
- A. Constructor B. Destructors C. Variable D. Object...
- Main method parameter has which type of data type___________________?
- A. int B. char C. string D. double...
- Which method of java is invoked by JVM to reclaim the inaccessible memory location ?
- A. reclaim() method B. finalize() method C. final() method D. both b and c...
- Suppose a class has public visibility. In this class we define a protected method. Which of the following statements is correct ?
- A. From within protected methods you do not have access to public methods. B. This method is only accessible from inside the class itself and from inside all subclasses. C. In a class, you cannot declare methods with a lower visibility than the visibility of the class in which it is defined. D. This method...
- Which method of the Applet class displays the result of applet code on screen ?
- A. paint() method B. main() method C. run() method D. drawString() method...
- In java, gc() method is available in which package ?
- A. java.io package B. java.lang package C. java.awt package D. java.util package...
- Which method can’t be overidden ?
- A. println B. final C. super D. static...
- Which method is used to perform DML statements in JDBC ?
- A. executeUpdate() B. executeQuery() C. execute() D. None of above...
Advertisement